@media screen and (min-width: 1190px) {
  main, .section {
    width: 1180px;
  }

  .section .search-wrap .search-input {
    width: 500px;
  }

  .section .search-wrap .submit {
    left: 518px;
  }
}

@media screen and (min-width: 960px) and (max-width: 1189px) {
  main, .section {
    width: 900px;
  }
  .section .search-wrap .search-input {
    width: 400px;
  }

  .section .search-wrap .submit {
    left: 418px;
  }
}

@media screen and (min-width: 768px) and (max-width: 959px) {
  main, .section {
    width: 900px;
  }

  .section .search-wrap .search-input {
    width: 300px;
  }

  .section .search-wrap .submit {
    left: 318px;
  }
}


@media screen and (min-width: 480px) and (max-width: 767px) {

  main, .section {
    width: 300px;
  }

  .section {
    padding: 12px;
  }

  .section .search-wrap .search-input {
    width: 205px;
  }

  .section .search-wrap .submit {
    left: 223px;
  }
}

@media screen and (max-width: 479px) {
  main, .section {
    width: 300px;
  }
  .section {
    padding: 12px;
  }

  .section .search-wrap .search-input {
    width: 205px;
  }

  .section .search-wrap .submit {
    left: 223px;
  }
}


main {
  position: relative;
  margin: 0 auto;
  min-height: 500px;
  /* background-color: #efefff; */
  padding: 1rem;
}

.frindly-link-wrap {
  width: 100%;
}

.section {
  margin: 0 auto;
  margin-bottom: 2rem;
  color: #333;
}

.section .search-wrap {
  position: relative;
  height: 35px;
}

.section .search-wrap .submit {
  position: absolute;
  top: 10px;
  width: 50px;
  height: 34px;
  margin-top: 10px 0;
  background-color: transparent;
  outline: none;
  border: 1px solid #999;
  border-radius: 5px;
  cursor: pointer;
}

.section .search-wrap .search-input {
  position: absolute;
  top: 10px;
  left: 0;
  height: 30px;
  padding-left: 10px;
  border-radius: 5px;
  border: 1px solid #999;
}

.section .search-input:focus {
  outline-color: #ccc;
}

.section-title {
  font-size: 16px;
}

.card-list {
  margin: 1rem 0;
}

.card {
  float: left;
  width: 270px;
  height: 158px;
  margin-bottom: 10px;
  border-radius: .6rem;
  overflow: hidden;
  margin-right: 20px;
}

.card .mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  background-color: rgba(0, 0, 0, .25);
}

.card:hover .mask {
  background-color: rgba(105, 192, 255, .2);
  transform: rotate(90deg);
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
}

.card a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  font-size: 16px;
}

.card a:hover {
  font-size: 16px;
  transition: all .4s ease-in-out;
}

.card .card-image {
  width: 100%;
}

.card .card-image img {
  width: 100%;
}

.card .card-info {
  position: absolute;
  top: 50px;
  left: 12px;
  color: #fff;
  font-weight: bold;
  z-index: 10;
  /* 在原本元素上再加一个transition */
  transition: all .4s linear;
}

.card a:hover .card-info {
  top: 40px;
  transition: all .4s ease-out;
}

